;(function ($, window, undefined) {
    function Plugs(ele, opts) {
        let _self = this;
        _self.opts = opts;

        //暴露的方法
        $.extend(this, {
            click: function (i, e) {

            },
            add: function (i, e) {

            },
        })
    }

    Plugs.prototype.add = function () {

    };

    $.fn.plug = function (setting) {
        let defaults = {

        };
        let options = $.extend({}, defaults, setting);
        return this.each(function () {
            new Plugs(this, options);
        })
    }
})(jQuery, window);
